package com.techysky.xsd.dm;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement
public class Limit {

	@XmlAttribute(name = "limitTypeValue")
    protected LimitTypeValueAttType limitTypeValue;
    @XmlAttribute(name = "limitCond")
    protected String limitCond;
    protected Threshold threshold;
    public LimitTypeValueAttType getLimitTypeValue() {
        if (limitTypeValue == null) {
            return LimitTypeValueAttType.PE;
        } else {
            return limitTypeValue;
        }
    }

    public void setLimitTypeValue(LimitTypeValueAttType value) {
        this.limitTypeValue = value;
    }

	public String getLimitCond() {
		return limitCond;
	}

	public void setLimitCond(String limitCond) {
		this.limitCond = limitCond;
	}

	public Threshold getThreshold() {
		return threshold;
	}

	public void setThreshold(Threshold threshold) {
		this.threshold = threshold;
	}

}
